package com.yuma.springshiroredisthymeleaf;

import org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Import;


@EnableCaching  // 开启缓存功能
@MapperScan(value = "com.yuma.springshiroredisthymeleaf.dao")
@SpringBootApplication(exclude = {ShiroAutoConfiguration.class})  // 不扫描此类创建此类对象，这样我们自定义的Config才能生效
public class SpringShiroRedisThymeleafApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringShiroRedisThymeleafApplication.class, args);
    }
}
